﻿namespace Tfs.OnTheRoad.ViewModel
{
    /// <summary>
    /// Interface that describes how a List View Model should behave
    /// </summary>
    public interface IBaseListViewModel
    {
        string GetEntityCollectionName();
        string GetNoResultsFoundMessage();
        bool HasContinuation { get; }
        bool HasResults { get; set; }
        bool IsSearching { get; set; }
        void LoadData();
        bool LoadMoreResultsVisible { get; }
        void LoadNextPage();
        string NoResultsFoundMessage { get; set; }
        int PageNumber { get; set; }
        string Query { get; set; }
    }
}
